<div id="add-data">
<h2>Add user</h2>
<?php
    echo $this->Form->create('Measurement', array('url' => '/' . $this->params['url']['url']));
    echo $this->Form->month('date');
    echo $this->Form->year('date', 2007, date('Y'));
	if($this->Form->validationErrors) {
		foreach($this->Form->validationErrors['Measurement'] AS $field => $error) {
			echo '<div class="error-message">' . $error . '.</div>';
		}
	}
    echo $this->Form->end('Create');
?>
</div>